package com.atguigu.gulimall.search.service;

import com.atguigu.gulimall.search.vo.SearchParam;
import com.atguigu.gulimall.search.vo.SearchResult;

public interface MallSearchService {
    /**
     * 接受检索的所有参数，然后去数据库查询，返回给Controller，最后通过
     * thymeleaf将结果填充到模板上，刷新页面
     * @param searchParam
     * @return
     */
    SearchResult search(SearchParam searchParam);
}
